<template>
	<view>
		<u-gap height="40" bgColor="#F4F4F4"></u-gap>
		<div class='setBox'>
			<u-cell-group>
				<u-cell  title="不接受任何消息">
					<u-switch slot="right-icon" v-model="checked" @change='change' activeColor="#2ED8C4"></u-switch>
				</u-cell>
			</u-cell-group>
		</div>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				checked:false
			}
		},
		methods:{
			change(e) {
				console.log('change', e);
			},
		}
		
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #F4F4F4;
	}
	.setBox{
		background-color: #fff;
	}
</style>